package com.sykj.zhuangguohao.controller;

import com.sykj.util.CoustomException;
import org.activiti.engine.TaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 李丛旺
 * @description 测试
 * @date 2020/5/13
 */
@RestController
@RequestMapping("/test6")
public class Test6 {

    @Autowired
    private TaskService taskService;
    @RequestMapping("/test6")
    public String  getString (){
//        System.out.println(taskService);
        throw new CoustomException(1000,"来了");
//        return "1323";
    }
}
